//
//  FirstView.h
//  lovergotest
//
//  Created by liudonghuan on 14-8-12.
//  Copyright (c) 2014年 liudonghuan. All rights reserved.
//  说明：
//      属于：推荐页面页面层
//      页面层：1个scrollView里嵌套左右2个tableView，左右滑动切换
//

#import <UIKit/UIKit.h>
typedef enum{
    TuiJianBtn = 0,
    HuoDongBtn,
}whichLabel;
@class TuiJianHuoDongView;
@protocol tjhdDelegate <NSObject>

@required
-(void)ChangeViewWith:(TuiJianHuoDongView *)view whichLabel:(whichLabel)which;
@end
@interface TuiJianHuoDongView : UIView
{
    UIView *_mainView;
    UIScrollView *_scrollView;
    UITableView *_tableViewleft;
    UITableView *_tableViewright;
    UIButton *_tjBtn;
    UIButton *_hdBtn;
    UIButton *_leftbutton;
    UIButton *_rightbutton;
    id<tjhdDelegate> _tjhdDelegate;
    UIImageView *_topline;
}
@property id<tjhdDelegate> tjhdDelegate;
@property(nonatomic,strong)UITableView *tableViewleft;
@property(nonatomic,strong)UITableView *tableViewright;
@property(nonatomic,strong)UIScrollView *scrollView;
@property(nonatomic,strong)UIView *mainView;
@property(nonatomic,strong)UIButton *tjBtn;
@property(nonatomic,strong)UIButton *hdBtn;
@property(nonatomic,strong)UIButton *leftbutton;
@property(nonatomic,strong)UIButton *rightbutton;
@end
